<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<?xml version="1.0" encoding="UTF-8"?>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<devices>
	<c:forEach items="${devmonitorList}" var="item">
		<device>
			<device_id>${item.device_id}</device_id>
			<device_name>${item.device_name}</device_name>
			<device_code>${item.device_code}</device_code>
			<device_ip>${item.device_ip}</device_ip>
			<belong_org_id>${item.belong_org_id}</belong_org_id>
			<belong_org_code>${item.belong_org_code}</belong_org_code>
			<belong_org_name>${item.belong_org_name}</belong_org_name>
			<device_type_id>${item.device_type_id}</device_type_id>
			<device_type_code>${item.device_type_code}</device_type_code>
			<type_code>${item.type_code}</type_code>
			<device_type_name>${item.device_type_name}</device_type_name>
			<purch_date><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss"  value="${item.purch_date}"/></purch_date>
			<update_date><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss"  value="${item.update_date}"/></update_date>
		</device>
	</c:forEach>
</devices>